<%@ Control Language="C#" AutoEventWireup="true"
    Inherits="NopSolutions.NopCommerce.Web.Modules.CustomerPasswordRecoveryControl" Codebehind="CustomerPasswordRecovery.ascx.cs" %>
<%@ Register TagPrefix="nopCommerce" TagName="SimpleTextBox" Src="~/Modules/SimpleTextBox.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="EmailTextBox" Src="~/Modules/EmailTextBox.ascx" %>
<div class="PasswordRecoveryPage">
    <div class="title">
        <%=GetLocaleResourceString("Account.ResetYourPassword")%>
    </div>
    <div class="clear">
    </div>
    <div class="body">
        <div runat="server" id="pnlResult" visible="false">
            <strong>
                <asp:Literal runat="server" ID="lResult" EnableViewState="false"></asp:Literal>
            </strong>
        </div>
    </div>
    <div class="body" runat="server" id="pnlRecover" visible="false">
        <table>
            <tr>
                <td style="width: 100px; text-align: left; vertical-align: middle;">
                    <%=GetLocaleResourceString("Account.E-Mail")%>:
                </td>
                <td>
                    <nopCommerce:EmailTextBox runat="server" ID="txtEmail" ValidationGroup="PasswordRecovery"
                        Width="250px"></nopCommerce:EmailTextBox>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td style="text-align: left; vertical-align: middle;">
                    <asp:Button runat="server" ID="btnPasswordRecovery" Text="Recover" ValidationGroup="PasswordRecovery"
                        OnClick="btnPasswordRecovery_Click" SkinID="PasswordRecoveryButton"></asp:Button>
                </td>
            </tr>
        </table>
    </div>
    <div class="body" runat="server" id="pnlNewPassword" visible="false">
        <table>
            <tr>
                <td style="width: 100px; text-align: left; vertical-align: middle;">
                    <%=GetLocaleResourceString("Account.PasswordRecovery.EnterNewPassword")%>:
                </td>
                <td>
                    <nopCommerce:SimpleTextBox runat="server" ID="txtNewPassword" ValidationGroup="NewPassword"
                        Width="250px" TextMode="Password" ErrorMessage="Password is required"></nopCommerce:SimpleTextBox>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td style="text-align: left; vertical-align: middle;">
                    <asp:Button runat="server" ID="btnNewPassword" Text="Submit" ValidationGroup="NewPassword"
                        OnClick="btnNewPassword_Click" SkinID="NewPasswordButton"></asp:Button>
                </td>
            </tr>
        </table>
    </div>
</div>
